.class Lcom/xingbook/audio/activity/f;
.super Ljava/lang/Object;

# interfaces
.implements Lcom/xingbook/ui/x;


# instance fields
.field final synthetic a:Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;


# direct methods
.method constructor <init>(Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;)V
    .locals 0

    iput-object p1, p0, Lcom/xingbook/audio/activity/f;->a:Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public a(I)V
    .locals 3

    const/4 v2, 0x0

    if-nez p1, :cond_1

    iget-object v0, p0, Lcom/xingbook/audio/activity/f;->a:Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;

    invoke-virtual {v0}, Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;->finish()V

    :cond_0
    :goto_0
    return-void

    :cond_1
    const/4 v0, 0x1

    if-ne p1, v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/audio/activity/f;->a:Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;

    invoke-static {v0}, Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;->a(Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;)Lcom/xingbook/audio/b/a;

    move-result-object v0

    if-nez v0, :cond_2

    iget-object v0, p0, Lcom/xingbook/audio/activity/f;->a:Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;

    const-string v1, "\u8bf7\u7b49\u5f85\u4e13\u8f91\u4fe1\u606f\u52a0\u8f7d\u5b8c\u6210~"

    invoke-static {v0, v1, v2}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/Toast;->show()V

    iget-object v0, p0, Lcom/xingbook/audio/activity/f;->a:Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;

    invoke-static {v0, v2}, Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;->a(Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;I)V

    :cond_2
    iget-object v0, p0, Lcom/xingbook/audio/activity/f;->a:Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;

    invoke-static {v0}, Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;->a(Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;)Lcom/xingbook/audio/b/a;

    move-result-object v0

    invoke-virtual {v0}, Lcom/xingbook/audio/b/a;->N()Ljava/lang/String;

    move-result-object v0

    if-eqz v0, :cond_4

    const-string v0, ""

    iget-object v1, p0, Lcom/xingbook/audio/activity/f;->a:Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;

    invoke-static {v1}, Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;->a(Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;)Lcom/xingbook/audio/b/a;

    move-result-object v1

    invoke-virtual {v1}, Lcom/xingbook/audio/b/a;->N()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_4

    iget-object v1, p0, Lcom/xingbook/audio/activity/f;->a:Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;

    iget-object v0, p0, Lcom/xingbook/audio/activity/f;->a:Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;

    invoke-static {v0}, Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;->a(Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;)Lcom/xingbook/audio/b/a;

    move-result-object v0

    invoke-virtual {v0}, Lcom/xingbook/audio/b/a;->u()Ljava/lang/String;

    move-result-object v0

    if-nez v0, :cond_3

    const-string v0, "\u4e13\u8f91\u7b80\u4ecb"

    :goto_1
    iget-object v2, p0, Lcom/xingbook/audio/activity/f;->a:Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;

    invoke-static {v2}, Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;->a(Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;)Lcom/xingbook/audio/b/a;

    move-result-object v2

    invoke-virtual {v2}, Lcom/xingbook/audio/b/a;->N()Ljava/lang/String;

    move-result-object v2

    invoke-static {v1, v0, v2}, Lcom/xingbook/park/activity/TextInfoActivity;->a(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_0

    :cond_3
    iget-object v0, p0, Lcom/xingbook/audio/activity/f;->a:Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;

    invoke-static {v0}, Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;->a(Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;)Lcom/xingbook/audio/b/a;

    move-result-object v0

    invoke-virtual {v0}, Lcom/xingbook/audio/b/a;->u()Ljava/lang/String;

    move-result-object v0

    goto :goto_1

    :cond_4
    iget-object v0, p0, Lcom/xingbook/audio/activity/f;->a:Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;

    const-string v1, "\u6682\u65e0\u7b80\u4ecb"

    invoke-static {v0, v1, v2}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/Toast;->show()V

    goto :goto_0
.end method
